package com.fare.taluo.application.impl.queue;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dayatang.domain.Entity;
import com.fare.taluo.application.queue.QueueSMSMessageApplication;
import com.fare.taluo.core.domain.queue.QueueBaseEntity;
import com.fare.taluo.core.domain.queue.message.QueueSMSMessageEntity;
import com.fare.taluo.vo.queue.QueueSMSMessageVO;
/**
 * 短信发送应用层
 * @author creator: xiangsf
 * @author modifior: xiangsf
 * @since 2012-12-11 下午1:51:22
 * @version v1.0
 */
@Transactional
@Scope("singleton")
@Service("queueSMSMessageApplication")
public class QueueSMSMessageApplicationImpl extends ScheduleQueueApplicationImpl<QueueSMSMessageVO> 
	implements QueueSMSMessageApplication{
	@Override
	protected QueueBaseEntity<? extends Entity> newInstance() throws Exception {
		return new QueueSMSMessageEntity();
	}
}
